package com.zgy.myshellcommand.enums;

public enum FileCoyptOptionsEnum {



    Command(-1,"FileHandler",null,"crypto",null,"一个可以给文件加密解密的命令", null, false, null),
    Encrypt(0,"FileHandler",'e',"Encrypt",null,"加密的命令", null, true, "e"),
    Decrypt(1,"FileHandler",'d',"Decrypt",null,"解密的命令", null, true, "d"),
    Str(0,"FileHandler",'s',"string",null,"字符加密", null, false, null),
    File(0,"FileHandler",'f',"file",null,"文件加密/加密文件", null, false, null),
    Passwd(0,"FileHandler",'p',"passwd",null,"秘钥", "zhguiy", false, null),
    ReadEncrypt(0,"FileHandler",'r',"read",null,"读取加密文件", null, true, "r"),
    ;


    private int id;
    private final String group;
    private final Character shortName;
    private final String longName;
    private final String args;
    private final String description;
    private final String defaultValue;
    private final boolean subCommand;
    private final String subCommandName;


    FileCoyptOptionsEnum(int id, String group, Character shortName, String longName, String args, String description, String defaultValue, boolean subCommand, String subCommandName) {
        this.id = id;
        this.group = group;
        this.shortName = shortName;
        this.longName = longName;
        this.args = args;
        this.description = description;
        this.defaultValue = defaultValue;
        this.subCommand = subCommand;
        this.subCommandName = subCommandName;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getGroup() {
        return group;
    }

    public Character getShortName() {
        return shortName;
    }

    public String getLongName() {
        return longName;
    }

    public String getArgs() {
        return args;
    }

    public String getDescription() {
        return description;
    }

    public String getDefaultValue() {
        return defaultValue;
    }

    public boolean isSubCommand() {
        return subCommand;
    }

    public String getSubCommandName() {
        return subCommandName;
    }
}
